package com.wlm.entity;

public enum BusinessResultCode {

    USER_LOGIN_NAME_EXIST(10001,"登录名已存在"),
    LOGIN_USER_ERROR(1002, "用户名不存在或密码错误"),
    VOTE_REPEAT(1003,"您已点赞过，请于 24 小时后再次操作"),
    ;

    private Integer code;

    private String msg;

    BusinessResultCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }



    public String getMsg() {
        return msg;
    }

    public Integer getCode() {
        return code;
    }
}
